<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员信息</title>
    <link rel="stylesheet" th:href="@{../css/userInfo.css}"> <!-- 引入CSS文件 -->
</head>
<body>
<th:block th:insert="~{admin/header :: sidebar}"/>
<div class="container">
    <h1>管理员信息</h1>

    <div class="user-details">
        <p><strong>用户ID：</strong><span th:text="${admin.adminid}"></span></p>
        <p><strong>用户名：</strong><span th:text="${admin.adminusername}"></span></p>
    </div>

    <div class="actions">
        <a href="/admin/adminEdit" class="edit-button">编辑信息</a>
        <a href="/admin/helloAdmin" class="logout-button">退出登录</a>
    </div>
</div>
</body>
</html>
